package com.bot.pms.project.mapper;



import com.bot.pms.project.domain.bo.ProjectPageQuery;
import com.bot.pms.project.domain.bo.ProjectPageQueryResultBo;
import com.bot.pms.project.domain.entity.Project;

import java.util.ArrayList;

/**
 * @Author: tian
 * @CreateTime: 2024-12-12
 * @Description: mapper
 * @Version: 1.0
 */

public interface ProjectMapper {

    public boolean insert(Project project);

    /**
     * 查询总条数
     * @param projectPageQuery
     * @return
     */
    public int pageQueryTotalNum(ProjectPageQuery projectPageQuery);

    /**
     * 分页条件查询
     * @param projectPageQuery
     * @return
     */
    public ArrayList<ProjectPageQueryResultBo> pageQuery(ProjectPageQuery projectPageQuery);

    public Project selectById(Long id);

    public boolean updateById(Project project);
}
